package domain;

/**
 * @author 于金鹏
 * @Date 2024/12/16 13:02
 * @Package StudentCheckSystem
 *
 * 学生实体类
 */
public class Student {
    private int id;
    private String studentId;
    private String studentName;
    private int majorId;
    private int classId;
    private String majorName;
    private String className;
    private String studentPassword;

    public Student() {
    }

    public Student(int id, String studentId, String studentName, int majorId, int classId, String studentPassword) {
        this.id = id;
        this.studentId = studentId;
        this.studentName = studentName;
        this.majorId = majorId;
        this.classId = classId;
        this.studentPassword = studentPassword;
    }
    public Student(int id, String studentName,String studentId, String studentPassword ,int majorId, int classId) {
        this.id = id;
        this.studentName = studentName;
        this.studentId = studentId;
        this.studentPassword = studentPassword;
        this.majorId = majorId;
        this.classId = classId;

    }
    public Student(int id, String studentId, String studentName, int majorId, int classId, String majorName, String className, String studentPassword) {
        this.id = id;
        this.studentId = studentId;
        this.studentName = studentName;
        this.majorId = majorId;
        this.classId = classId;
        this.majorName = majorName;
        this.className = className;
        this.studentPassword = studentPassword;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int getMajorId() {
        return majorId;
    }

    public void setMajorId(int majorId) {
        this.majorId = majorId;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getStudentPassword() {
        return studentPassword;
    }

    public void setStudentPassword(String studentPassword) {
        this.studentPassword = studentPassword;
    }
}
